-- GENERATED SPELL FOR [Elder Shardtooth] --


function spell0_7445(pUnit, Event) --@Demoralizing Roar,Self--
pUnit:FullCastSpellOnTarget(15971,pUnit)
pUnit:RegisterEvent('Sorts_7445', 30272, 1)
end

function Sorts_7445(pUnit, Event)
local choix_sorts_7445 = math.random(0, 0)
if choix_sorts_7445 == 0 then
pUnit:RegisterEvent('spell0_7445', 1, 1)
end
end

function mob7445_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7445', math.random(1500, 3000), 1)
end

function mob7445_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7445_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7445_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7445, 1, 'mob7445_Action')
RegisterUnitEvent(7445, 2, 'mob7445_Leave')
RegisterUnitEvent(7445, 3, 'mob7445_Kill')
RegisterUnitEvent(7445, 4, 'mob7445_Die')
